﻿using AutoMapper;
using Hicap.AuthorizationServer.Core.Models;

namespace Hicap.AuthorizationServer.Application.Dto.Mapper
{
    internal static class CustomerCompanyMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap<Company, CompanyListDto>();
            configuration.CreateMap<CompanyEditDto, Company>();
            configuration.CreateMap<CompanyListDto, CompanyEditDto>();
            configuration.CreateMap<CompanyEditDto, CompanyListDto>();
        }
    }
}